package com.example.module_user.api

import com.example.lib_base.BaseResponse
import com.example.module_user.entity.LoginEntity
import retrofit2.http.POST
import retrofit2.http.Query

interface UserApiService {
@POST("/user/login")
suspend fun login(@Query("password") pas:String,@Query("username") username:String):BaseResponse<LoginEntity>
@POST("/user/register")
suspend fun register(@Query("password") pas:String,@Query("username") username:String):BaseResponse<LoginEntity>
}